//
//  UIViewController+addNavBtn.h
//  eCar
//
//  Created by 上官惠阳 on 15/7/29.
//  Copyright (c) 2015年 yixueche.Team. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum{
    LEFT,
    RIGHT
}LXDirection;

@interface UIViewController (addNavBtn)
/**
 添加左右导航栏按钮用
 */
- (void)addBtnOnNavWithTitle:(NSString *)title andImageName:(NSString *)name andTarget:(id)target andAction:(SEL)action andFrame:(CGRect)frame andDirection:(LXDirection)direction;
/**
 添加左右导航栏按钮用BackGroundImage
 */
- (void)addNavgationBtn:(NSString *)title andImageName:(NSString *)name andTarget:(id)target andAction:(SEL)action andFrame:(CGRect)frame andDirection:(LXDirection)direction;
/**
 设置导航栏标题
 */
- (void)titleWithSting:(NSString *)str;




@end
